package com.jiangyao.model.dto.backend;

import com.jiangyao.model.dto.ListPageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 班级成员成绩学分分页DTO
 *
 * @author: yangyongchuan
 * @create: 2020年09月03日 01:42
 */
@ApiModel("班级成员成绩学分分页DTO")
@Data
public class ClassUserScoreListPageDTO extends ListPageDTO {
	private static final long serialVersionUID = -8388717513740461331L;
	/**
	 * 归属组织ID
	 */
	@ApiModelProperty(value = "组织ID")
	@NotNull(message = "组织ID不能为空", groups = {ListPage.class})
	private Integer orgId;

	/**
	 * 班级ID
	 */
	@ApiModelProperty(value = "班级ID")
	@NotNull(message = "班级ID不能为空", groups = {ListPage.class})
	private Integer classId;

	/**
	 * 学期名称
	 */
	@ApiModelProperty(value = "学期名称")
	@NotNull(message = "学期名称不能为空", groups = {ListPage.class})
	private String semesterName;

	/**
	 * 成员ID
	 */
	@ApiModelProperty(value = "成员ID")
	private Integer userId;

	/**
	 * 成员ID集合
	 */
	@ApiModelProperty(value = "成员ID集合", hidden = true)
	private List<Integer> userIdList;

	/**
	 * 成员名称
	 */
	@ApiModelProperty(value = "成员名称")
	private String userName;

}
